package com.yanqu.road.entity.translations;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2021/4/28 20:14
 */
public class Translations extends DataObject {
    private String srcContent;      //翻译内容
    private String resultContent;   //翻译结果
    private String language;        //语言
    private long time;              //翻译时间
    private long useTimes;          //使用次数

    public String getSrcContent() {
        return srcContent;
    }

    public void setSrcContent(String srcContent) {
        this.srcContent = srcContent;
    }

    public String getResultContent() {
        return resultContent;
    }

    public void setResultContent(String resultContent) {
        this.resultContent = resultContent;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        if (this.time != time) {
            this.time = time;
            setUpdateOption();
        }
    }

    public long getUseTimes() {
        return useTimes;
    }

    public void setUseTimes(long useTimes) {
        if (this.useTimes != useTimes) {
            this.useTimes = useTimes;
            setUpdateOption();
        }
    }
}
